package com.entfrm.biz.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.entfrm.biz.system.entity.TOrder;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface TOrderMapper extends BaseMapper<TOrder> {
    /**
     * 我买的订单
     * @return
     */
    @Select("select * from where buy_id = #{buyId}")
    public List<TOrder> getMyBuyOrders(Integer buyId);
}
